package com.sl.mes.db.service.org;

import com.sl.mes.db.dao.OrgDeptMapper;
import com.sl.mes.db.itf.org.IOrgDept;
import com.sl.mes.db.vo.OrgDept;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 部门
 */
@Service
public class OrgDeptService implements IOrgDept {
    @Resource
    private OrgDeptMapper deptMapper;


    @Override
    public OrgDept findById(String pk_dept) {
        return deptMapper.selectByPrimaryKey(pk_dept);
    }
}
